<include file="$includeFile.public_header" /><!--或是"__ADMIN__/header"-->

<script type="text/javascript">
    $(function(){
        var m_more='__ADMIN__/images/m_more.gif';
        var m_less='__ADMIN__/images/m_less.gif';
        $(".m_more").click(function(){
            var pid=$(this).attr("pid");
            if($(this).parent().parent().nextAll(".child_"+pid).eq(0).is(":visible")){
                $(this).parent().parent().nextAll(".child_"+pid).find(".m_more").attr("src",m_more);
                $(this).attr("src",m_more).parent().parent().nextAll(".child_"+pid).slideUp();
            }else{
                $(this).parent().parent().nextAll(".child_"+pid).find(".m_more").attr("src",m_more);
                $(this).attr("src",m_less).parent().parent().nextAll(".next_"+pid).slideDown();
            }
        })
    })
</script>

<!--  右边内容   -->
<div class="list_tit">
    <span class="tit_left">您当前的位置：首页 > 栏目管理 ></span>
    <a href="__URL__/add" class="tit_right">+添加栏目</a>
</div>

<table cellpadding="0" cellspacing="0" border="0" width="100%" class="ul_bg">
    <form action="__URL__" method="get">
        <tr>
            <td width="80">按类别搜索：</td>
            <td width="110">
                <select class="sele_css" style="width:120px;">
                    <option>栏目管理</option>
                </select>
            </td>
            <td>&nbsp;</td>
            <td width="35">&nbsp;</td>
            <td width="85">&nbsp;

            </td>
            <td width="80">关键字搜索：</td>
            <td width="155"><input type="text" class="input_css" name="menu_name" value="{$Think.get.menu_name}" /></td>
            <td width="<php>if($_GET['menu_name']){ echo 140;}else{echo 76;}</php>" >

        <php>if($_GET['menu_name']){</php>
        <a href="__URL__" class="btn_css fr" style="display:block; margin-left:10px; text-align:center; line-height:22px;">撤销搜索</a>
        <php>}</php>
        <input type="submit" value="搜 索" class="btn_css fr" />
        </td>
        </tr>
    </form>
</table>

<div class="page_list">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="list_table">
        <tr>
            <th width="30" style="text-indent:5px;"><input type="checkbox" id="check_all" /></th>
            <th width="70" style="text-align:center;">编号</th>
            <th>栏目名称</th>
            <th width="12%">英文名称</th>
            <th width="6%" style="text-align:center;">类型</th>
            <th class="hide" width="60">关联</th>
            <th width="18%">栏目关键词</th>
            <th width="10%" style="text-align:center;">显示</th>
            <th width="8%" style="text-align:left;">排序</th>
            <th width="170" style="text-align:center;">管理操作</th>
        </tr>
        {$menus_html}
    </table>

    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="ul_bg">
        <tr>
            <td width="80"><span id="select_all" class="cursor">全选&nbsp;</span>|<span id="uncheck" class="cursor">&nbsp;反选</span></td>
            <td width="40">操作：</td>
            <td width="100">
                <select id="action" class="sele_css" style="width:90px;">
                    <option value="">选择操作</option>
                    <option value="ajax_delete">删除</option>
                </select>
            </td>
            <td width="70"><input type="submit" id="todo" value="执 行" class="btn_css" /></td>
            <td>&nbsp;</td>
            <td align="right" style="text-align:right;" class="subpage">{$page}</td>
        </tr>
    </table>
</div>

<include file="Public:footer" />
